Skip to main content
Version: 11.x

Type alias: HTTPBatchLinkOptions<TRoot>

HTTPBatchLinkOptions: <TRoot> HTTPLinkBaseOptions< TRoot > & {headers: HTTPHeaders | (opts) => HTTPHeaders | Promise< HTTPHeaders >; maxURLLength: number;}

HTTPBatchLinkOptions.headers

optional headers: HTTPHeaders | (opts) => HTTPHeaders | Promise< HTTPHeaders >

Headers to be set on outgoing requests or a callback that of said headers

http://trpc.io/docs/client/headers

HTTPBatchLinkOptions.maxURLLength

optional maxURLLength: number

Type parameters

Parameter
TRoot extends AnyClientRootTypes

Source

packages/client/src/links/HTTPBatchLinkOptions.ts:6


Generated using TypeDoc and typedoc-plugin-markdown